package com.zzxy.mvc12.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@RequestMapping("test1")
public class TestController {
    @RequestMapping("/test11")
    public String test11(@RequestParam(defaultValue = "10",name = "uid",required = true) int uid){
        System.out.println(uid);
        return "redirect:/user/list.do";
    }
}
